package o;

import com.huawei.fastengine.fastview.startFastappEngine.bean.RpkInfo;
import java.util.LinkedHashMap;
import o.crh.b;

public class csi {
    private static String ˎ(int i) {
        return cro.ˏ().ˎ().getResources().getString(i);
    }

    public static void ˎ(int i, String str) {
        LinkedHashMap linkedHashMap = new LinkedHashMap(3);
        linkedHashMap.put("product_id", cro.ˏ().ᐝ().ॱ());
        linkedHashMap.put("request_id", str);
        linkedHashMap.put("service_type", String.valueOf(csq.ˋ()));
        dgh.ˋ(ˎ(i), linkedHashMap);
    }

    public static void ˏ(String str) {
        LinkedHashMap linkedHashMap = new LinkedHashMap(4);
        linkedHashMap.put("product_id", cro.ˏ().ᐝ().ॱ());
        linkedHashMap.put("pop_type", "INSTALL");
        linkedHashMap.put("pop_sub_type", str);
        linkedHashMap.put("service_type", String.valueOf(csq.ˋ()));
        dgh.ˋ(ˎ(b.ʼ), linkedHashMap);
    }

    public static void ˋ(String str) {
        LinkedHashMap linkedHashMap = new LinkedHashMap(3);
        linkedHashMap.put("product_id", cro.ˏ().ᐝ().ॱ());
        linkedHashMap.put("package_name", str);
        linkedHashMap.put("service_type", String.valueOf(csq.ˋ()));
        dgh.ˋ(ˎ(b.ᐝ), linkedHashMap);
    }

    public static void ˊ(String str) {
        LinkedHashMap linkedHashMap = new LinkedHashMap(3);
        linkedHashMap.put("product_id", cro.ˏ().ᐝ().ॱ());
        linkedHashMap.put("deeplink", str);
        linkedHashMap.put("service_type", String.valueOf(csq.ˋ()));
        dgh.ˋ(ˎ(b.ˏ), linkedHashMap);
    }

    public static void ˋ(int i) {
        LinkedHashMap linkedHashMap = new LinkedHashMap();
        linkedHashMap.put(RpkInfo.APPID, cro.ˏ().ᐝ().ͺˏ());
        linkedHashMap.put("type", String.valueOf(i));
        linkedHashMap.put("service_type", String.valueOf(csq.ˋ()));
        linkedHashMap.put("detailid", cro.ˏ().ᐝ().ॱॱ());
        dgh.ˋ("card_installbtn_click", linkedHashMap);
    }
}
